package com.antdesignbackend.backend.situationReport.mapper;

import com.antdesignbackend.backend.situationReport.entity.SituationReport;
import com.antdesignbackend.backend.situationReport.entity.entityVo.SituationReportVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 动物防疫条件和防疫制度执行情况报备
 * @author 林宇杰
 * @email situationReport
 * @date 2020-08-31 10:28:17
 */
@Component
public interface SituationReportMapper extends BaseMapper<SituationReport>{
    List<SituationReportVo> search(@Param(Constants.WRAPPER) QueryWrapper<SituationReportVo> situationReportVoQueryWrapper, Page<SituationReportVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<SituationReportVo> queryWrapper);
}
